package com.yalemang.photovalut.base.sql.entity;

import com.ellen.dhcsqlitelibrary.table.annotation.field.bound.MajorKey;

public class ResFile {

    public final static int TYPE_PHOTO = 1;
    public final static int TYPE_VIDEO = 0;

    @MajorKey
    private String path;
    private String fileFolderName;
    private String originalPath;
    private long encryptionTime;
    private long length;

    //0：视频   1：图片
    private int type;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getFileFolderName() {
        return fileFolderName;
    }

    public void setFileFolderName(String fileFolderName) {
        this.fileFolderName = fileFolderName;
    }

    public String getOriginalPath() {
        return originalPath;
    }

    public void setOriginalPath(String originalPath) {
        this.originalPath = originalPath;
    }

    public long getEncryptionTime() {
        return encryptionTime;
    }

    public void setEncryptionTime(long encryptionTime) {
        this.encryptionTime = encryptionTime;
    }

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "ResFile{" +
                "path='" + path + '\'' +
                ", fileFolderName='" + fileFolderName + '\'' +
                ", originalPath='" + originalPath + '\'' +
                ", encryptionTime=" + encryptionTime +
                ", length=" + length +
                ", type=" + type +
                '}';
    }
}